package model.xpdl2{
	
	public class Coordinates{
		
		private var _x:Number;
		
		private var _y:Number;
		
		public function Coordinates(){
			
			_x=10.0;
			
			_y=10.0
			
		}
		
		public function genXML():String{
		
			var xml:String;
			var nspre:String="xpdl2";
			
			xml="<"+nspre+":Coordinates XCoordinate=\""+_x+"\" YCoordinate=\""+_y+"\"/"+nspre+":Coordinates>\n";
			
			return xml;
		
		}
		
		public function set x(x:Number):void{
		
			this._x=x;
		
		}
		
		public function get x():Number{
		
			return this._x;
		
		}
		
		public function set y(y:Number):void{
		
			this._y=y;
		
		}
		
		public function get y():Number{
		
			return this._y;
		
		}
		

	}
}